package com.bcxj.apipassenger.remote;

import com.bcxj.internalcommon.dto.ResponseResult;
import com.bcxj.internalcommon.response.NumberCodeResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * ClassName: ServiceVerificationcodeClient
 * Package: com.bcxj.apipassenger.remote
 * Description:
 *
 * @Author BCXJ
 * @Create 2024/9/15 23:35
 * @Version 1.0
 * @Since 1.0
 */
@FeignClient("service-verificationcode") // value写服务的名字
public interface ServiceVerificationcodeClient {

    //    @GetMapping("/numberCode/6")
    @GetMapping("/numberCode/{size}")
    ResponseResult<NumberCodeResponse> numberCode(@PathVariable("size") Integer size);
//    String numberCode();
}
